﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace _3lop.GUI
{
    public partial class frmLock : DevExpress.XtraEditors.XtraForm
    {
        public frmLock()
        {
            InitializeComponent();
        }

        private void frmLock_Load(object sender, EventArgs e)
        {

        }

        public static string pass;
        private void btnKhoa_Click(object sender, EventArgs e)
        {
            if (dxValidationProvider1.Validate())
            {
                this.Close();
                frmLock2 frm = new frmLock2();
                pass = txtMK.Text;
                Application.OpenForms["frmmain"].Hide();
                frm.Show();
                
            }
        }

        private void frmLock_Load_1(object sender, EventArgs e)
        {

        }
    }
}
